package TechStuff;
import java.rmi.RemoteException;

import Client.ChessGame;
import Models.Point2D;
import TechStuff.ClientInterface;


public class Client implements ClientInterface {
	private ChessGame game;
	
	public Client(ChessGame game) {
		this.game = game;
	}
	@Override
	public void piceMoved(Point2D from, Point2D to) throws RemoteException  {
		game.movePiece(from, to);
	}

}
